| GUI Help > Special > addTreeViewItem | ||||||||||||||
|
addTreeViewItem |
||||||||||||||
| handle item=addTreeViewItem(handle gadget, handle parentItem, int image, str text) | ||||||||||||||
|
Description: Adds a new item to a treeview. A treeview item has an image and a piece of text. Unlike listboxes and comboboxes, treeviews use handles for items rather than indicies. When you want to modify an item pass the handle returned by addTreeViewItem to the treeview functions. In order to use images, you must have assigned an image list to the treeview using setTreeViewImageList. |
||||||||||||||
|
Return Value: Handle of the new treeview item. |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |